<%--
  Created by IntelliJ IDEA.
  User: Chf
  Date: 2021/4/6
  Time: 11:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<link rel="shortcut icon" href="favicon.ico">
<link href="plugins/Hplus-v.4.1.0/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="plugins/Hplus-v.4.1.0/css/font-awesome.css?v=4.4.0" rel="stylesheet">
<link href="plugins/Hplus-v.4.1.0/css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="plugins/Hplus-v.4.1.0/css/animate.css" rel="stylesheet">
<link href="plugins/Hplus-v.4.1.0/css/style.css?v=4.1.0" rel="stylesheet">

<!-- 全局js -->
<script src="plugins/Hplus-v.4.1.0/js/jquery.min.js?v=2.1.4"></script>
<script src="plugins/Hplus-v.4.1.0/js/bootstrap.min.js?v=3.3.6"></script>
<html>
<head>
    <title>用户信息</title>
    <style>
        th{
            text-align: center!important;
        }
    </style>
</head>
<body>
<div class="col-lg-12">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>边框</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
                <a class="dropdown-toggle" data-toggle="dropdown" href="table_basic.html#">
                    <i class="fa fa-wrench"></i>
                </a>
                <ul class="dropdown-menu dropdown-user">
                </ul>
                <a class="close-link">
                    <i class="fa fa-times"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content">
            <table class="table table-bordered" style="text-align: center">
                <thead>
                    <tr>
                        <th>序号</th>
                        <th>姓名</th>
                        <th>密码</th>
                        <th>联系方式</th>
                        <th>注册日期</th>
                        <th>修改信息</th>
                        <th>删除信息</th>
                    </tr>
                </thead>
                <tbody>
                <c:forEach items="${sessionScope.UserList}" var="userInfo" varStatus="st">
                    <tr>
                        <td>${st.index+1}</td>
                        <td>${userInfo.userName}</td>
                        <td>${userInfo.userPwd}</td>
                        <td>${userInfo.userTel}</td>
                        <td>${userInfo.userBirthday}</td>
                        <td><a href="UserInfoUpdateServlet?id=${userInfo.userId}" class="btn btn-primary btn-lg active" role="button">修改</a></td>
                        <td><a href="UserInfoDeleteServlet?id=${userInfo.userId}" class="btn btn-primary btn-lg active" onclick="return confirm('请确认是否删除该记录？')" role="button">删除</a></td>
                    </tr>
                </c:forEach>
                </tbody>
            </table>
        </div>
    </div>
</div>
</body>
</html>
